
const { ccclass, property } = cc._decorator;

//化妆score render
@ccclass
export default class ScoreRender extends cc.Component {


    @property(cc.Label)
    lblScore: cc.Label = null;

    @property(cc.Label)
    lblName: cc.Label = null;

    showData(data:any){
        if(!data)
            return;
        let num = Math.floor(Math.random() * (96 - 70) + 70);
        // UIUtils.uiUtils.showNumChange(this.lblScore,0, num, 20);
        this.lblScore.string = num.toString();
        this.lblName.string = data.name;
    };

}
